void chooseMode(int &modeType){
	system("cls");
	for(int i=0;i<=MAX_CHOOSEMODE;i++){
		gotoXY(34,11+2*i);
		printf(CHOOSEMODE[language][i]);
	}
	char c=0;
	gotoXY(31,11+modeType*2);
	printf(">");
	while(c!='\r'){
		while(!kbhit()){
			
		}
		c=getch();
		if(c==UP&&modeType>0){
			gotoXY(31,11+2*modeType);
			printf(" ");
			modeType--;
			gotoXY(31,11+2*modeType);
			printf(">");
		}
		else if(c==DOWN&&modeType<MAX_CHOOSEMODE){
			gotoXY(31,11+2*modeType);
			printf(" ");
			modeType++;
			gotoXY(31,11+2*modeType);
			printf(">");
		}
	}
	//Sleep(70);
}
